# encoding: UTF-8
 
class Carousel < ActiveRecord::Base

  attr_accessible :linkto, :status, :title, :image, :page, :site

  scope :open_status, where(:status => 0)

  scope :pages, where(:page => 1)
  scope :site, where(:site => 1)

  mount_uploader :image, ImageUploader


end
